<?php

defined( '_JEXEC' ) or die( 'Restricted access' );

require_once (dirname(__FILE__).DS.'helper.php');

jimport("joomla.filesystem.folder");
jimport("joomla.filesystem.file");

/*-- Process---*/

$jquery 						= $params->get("jquery", 0);

$thumb_height 					= $params->get('thumb_height', "200");
$thumb_width 					= $params->get('thumb_width', "160");		

$line_height                    = $params->get('line_height', 32);
$box_text 						= $params->get('box_text', '200');
$slect_theme					= $params->get('slect_theme', 1);

if (!defined ('JUCAPTION')) {
define ('JUCAPTION', 1);

if ($jquery){
JHTML::script('jquery-1.3.2.min.js',JURI::base() . '/modules/'.$module->module.'/assets/');
JHTML::script('jquery.noconflict.js',JURI::base() . '/modules/'.$module->module.'/assets/');
}	
/* Add css*/	
JHTML::stylesheet('style.css', JURI::base() . '/modules/'.$module->module.'/assets/');

$browser = new Browser();

if($browser->Name=='msie' && floor($browser->Version)==6)
{
JHTML::stylesheet('ie6.css', JURI::base() . '/modules/'.$module->module.'/assets/');		
}     
}

$items = modJUHotTopicHelper::process($params, $module);



$path = JModuleHelper::getLayoutPath( 'mod_ju_caption' );
if (file_exists($path)) {
require($path);
}
?>
